#include "Config.h"
#include <QApplication>
#include <QFile>

Config* Config::instance = nullptr;

Config::Config()
{
    auto configFile = QFile(QApplication::applicationDirPath() + "/config/config.json");
    configFile.open(QFile::ReadOnly);
    config = QJsonDocument::fromJson(configFile.readAll());
    configFile.close();
}
